package com.example.mydemo1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mydemo1.entity.common.PageParams;
import com.example.mydemo1.entity.common.PageResult;
import com.example.mydemo1.entity.common.AppResp;
import com.example.mydemo1.entity.vo.SysUserVO;
import com.example.mydemo1.entity.po.SysUser;

import java.util.List;

/**
 * <p>
 * 用户表 业务层接口类
 * </p>
 *
 * @createTime: 2023/09/16 14:29:44
 */
public interface SysUserService extends IService<SysUser> {

    AppResp<PageResult<SysUserVO>> page(PageParams<SysUserVO> pageParams);

    AppResp<SysUserVO> queryById(String sysUserId);

    AppResp<Void> add(SysUserVO sysUserVO);

    AppResp<Void> delById(String sysUserId);

    AppResp<Void> modify(SysUserVO sysUserVO);

    AppResp<Void> batchAdd(List<SysUserVO> sysUserVos);

    AppResp<Void> batchModify(List<SysUserVO> sysUserVos);

    AppResp<Void> batchDelete(List<SysUserVO> sysUserVos);

}
